<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <body>

        <ui:composition template="./plantillas/plantilla.xhtml">

            <ui:define name="top">
                
                <div align="center"><h2>CHACO BUS_LOGIN</h2></div>
            
            </ui:define>

            <ui:define name="content">
                <div align="center">
                <p:panelGrid columns="2">  
    <f:facet name="header">  
       LOGIN 
    </f:facet>  
  
    <h:outputLabel for="firstname" value="Usuario: *" />  
    <p:inputText id="firstname" value="#{usuarioController.nombre}" label="Firstname" />  
  
    <h:outputLabel for="pwd1" value="Pass: *" />  
    <p:password id="pwd1" value="#{usuarioController.password}" match="pwd2" label="Password 1" required="true"/>  
  
            
  
    <f:facet name="footer">  
        <p:commandButton type="button" value="Ingresar" action="#{usuarioController.doLogin}" icon="ui-icon-check" style="margin:0"/>  
        <p:commandButton type="button"   value="me olvide mis datos" icon="ui-icon-check" style="margin:0"/> 
    </f:facet>  
</p:panelGrid>
                    </div>
            </ui:define>

            <ui:define name="bottom">
                CHACO BUS
            </ui:define>

        </ui:composition>

    </body>
</html>
